﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ECube.SEC.Models
{
    public class Permission
    {
        public Permission()
        { 

        }
        public Permission(Guid id,Guid parentId,string permissionKey,string moduleId,string name,string descriptor)
        {
            PermissionId = id;
            ParentId = parentId;
            PermissionKey = permissionKey;
            ModuleId = moduleId;
            Name = name;
            Descriptor = descriptor;
        }

        public Guid PermissionId{get;set;}
        public Guid ParentId{get;set;}
        public string PermissionKey { get; set; }
        public string ModuleId { get; set; }
        public string Name { get; set; }
        public string Descriptor { get; set; }
    }
}
